//
//  BHHomeManager.swift
//  BigHealth
//
//  Created by 蔺百好 on 2021/6/8.
//

import UIKit

class BHHomeManager {

    static var loadHomeTapArray: [CZTopSegMentItemModel] {
        get {
            var array: [CZTopSegMentItemModel] = []
            let nameArray: [String] = ["圈子","精彩赛事","运动场馆","更多趣玩"]
            for (index,text) in nameArray.enumerated() {
                let model: CZTopSegMentItemModel = CZTopSegMentItemModel.init()
                model.itemName = text
                model.itemId = "\(index)"
                array.append(model)
            }
            return array
        }
    }
    
    
    static var loadMyCompetitionArray: [CZTopSegMentItemModel] {
        get {
            var array: [CZTopSegMentItemModel] = []
            let nameArray: [String] = ["全部(10)","已报名(3)","待签到(1)","已结束(3)","已退出(3)"]
            for (index,text) in nameArray.enumerated() {
                let model: CZTopSegMentItemModel = CZTopSegMentItemModel.init()
                model.itemName = text
                model.itemId = "\(index)"
                array.append(model)
            }
            return array
        }
    }
    
    static var meCollectionArray: [CZTopSegMentItemModel] {
        get {
            var array: [CZTopSegMentItemModel] = []
            let nameArray: [String] = ["精彩赛事","运动场馆","医疗结构","热门活动"]
            for (index,text) in nameArray.enumerated() {
                let model: CZTopSegMentItemModel = CZTopSegMentItemModel.init()
                model.itemName = text
                model.itemId = "\(index)"
                array.append(model)
            }
            return array
        }
    }
    
    
    static var myOrderArray: [CZTopSegMentItemModel] {
        get {
            var array: [CZTopSegMentItemModel] = []
            let nameArray: [String] = ["全部","待使用","已完成","退款/售后"]
            for (index,text) in nameArray.enumerated() {
                let model: CZTopSegMentItemModel = CZTopSegMentItemModel.init()
                model.itemName = text
                model.itemId = "\(index)"
                array.append(model)
            }
            return array
        }
    }
    
    
}
